//
//  DGGMobileLoginSDKPrefixHeader.h
//  DGGMobileLoginSDK
//
//  Created by dgg_hzk on 2019/11/12.
//  Copyright © 2019 dgg_hzk. All rights reserved.
//

#ifndef DGGMobileLoginSDKPrefixHeader_h
#define DGGMobileLoginSDKPrefixHeader_h

/*
 * 认证结果状态
 */
typedef NS_ENUM(NSUInteger, DGGMobileLoginStatus) {
    DGGMobileLoginStatusSuccess = 0,             //认证成功
    DGGMobileLoginStatusFailure,                 //认证失败
    DGGMobileLoginStatusCancel,                  //取消登录
    DGGMobileLoginStatusChange,                  //切换账号
    DGGMobileLoginStatusPreGetPhoneFailure,      //预取号失败
};

#import <NTESQuickPass/NTESQuickPass.h>
#import <NTESQuickPass/NTESQuickPassManager.h>
#import <NTESQuickPass/NTESQuickLoginManager.h>

#import "DGGMobileLoginViewController.h"
#import "DGGMobileLoginConfig.h"

static NSString * const kMobileLoginBundleName = @"DGGMobileLoginSDKBundle.bundle";

#define kMobileLoginSource(_name_) [NSString stringWithFormat:@"%@/%@",kMobileLoginBundleName,_name_]


// 电信页面展示配置相关
static NSString * const dianxinServiceDomain = @"天翼账号提供认证服务";
static NSString * const dianxinServiceName = @"《天翼账号服务协议与隐私政策》";
static NSString * const dianxinServiceURL = @"https://e.189.cn/sdk/agreement/content.do?type=main&appKey=&hidetop=true";

#endif /* DGGMobileLoginSDKPrefixHeader_h */
